home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Chatline (String.mui Subclass with History)
- ** Copyright (C) 2000 Gurer Ozen <madcat@linuxfan.com>
- **
- ** This code is free software; you can redistribute it and/or
- ** modify it under the terms of GNU General Public License.
- */
-
- #include "mui.h"
-
- #ifndef MADCAT_CHATLINE_H
- #define MADCAT_CHATLINE_H
-
- MUI_DISPATCH_DECL(chatline_dispatch);
-
- struct chatlinestr
- {
- struct chatlinestr *next;
- struct chatlinestr *prev;
- int len;
- char line[2];
- };
-
- struct chatlinedata
- {
- void *pool;
- struct chatlinestr *lines;
- struct chatlinestr *lastline;
- struct chatlinestr *cur;
- };
-
-
- /* change following macros according to main program */
-
- #define CHATLINE_ADD 0xf0f0
-
-
- #endif /* MADCAT_CHATLINE_H */
-